package com.edu.hre.struts.form.pim;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

public class EmpLanguageUpdateForm extends ActionForm {
	
	private int id = 0;
	private int empNumber;

	private int language;
	private int readCompetency;
    private int speakCompetency;
    private int listenCompetency;
    private int writeCompetency;
    private String comment;

	private String message = "";
	private boolean isAddNew = true;
	
	private List<LabelValueBean> allLanguages = new ArrayList<LabelValueBean>();
	private List<LabelValueBean> allCompetencies = new ArrayList<LabelValueBean>();
	
	public EmpLanguageUpdateForm() {

	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public boolean isAddNew() {
		return isAddNew;
	}

	public void setAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}
	
	public boolean getIsAddNew() {
		return isAddNew;
	}

	public void setIsAddNew(boolean isAddNew) {
		this.isAddNew = isAddNew;
	}

	public int getEmpNumber() {
		return empNumber;
	}

	public void setEmpNumber(int empNumber) {
		this.empNumber = empNumber;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getLanguage() {
		return language;
	}

	public void setLanguage(int language) {
		this.language = language;
	}

	public List<LabelValueBean> getAllLanguages() {
		return allLanguages;
	}

	public void setAllLanguages(List<LabelValueBean> allLanguages) {
		this.allLanguages = allLanguages;
	}

	public List<LabelValueBean> getAllCompetencies() {
		return allCompetencies;
	}

	public void setAllCompetencies(List<LabelValueBean> allCompetencies) {
		this.allCompetencies = allCompetencies;
	}

	public int getReadCompetency() {
		return readCompetency;
	}

	public void setReadCompetency(int readCompetency) {
		this.readCompetency = readCompetency;
	}

	public int getSpeakCompetency() {
		return speakCompetency;
	}

	public void setSpeakCompetency(int speakCompetency) {
		this.speakCompetency = speakCompetency;
	}

	public int getListenCompetency() {
		return listenCompetency;
	}

	public void setListenCompetency(int listenCompetency) {
		this.listenCompetency = listenCompetency;
	}

	public int getWriteCompetency() {
		return writeCompetency;
	}

	public void setWriteCompetency(int writeCompetency) {
		this.writeCompetency = writeCompetency;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}
}
